home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / FGL304E.ZIP;1 / EXPAS.ARJ / FGDOC / EXAMPLES / PASCAL / 07-06.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1994-01-24  |  860 b   |  48 lines

  1. program main;
  2. uses fgmain, fgmisc;
  3.  
  4. var
  5.   old_mode : integer;
  6.  
  7. begin
  8.   old_mode := fg_getmode;
  9.   fg_setmode(18);
  10.   fg_setcolor(9);
  11.   fg_fillpage;
  12.   fg_setcolor(14);
  13.  
  14.   fg_move(0,0);
  15.   fg_justify(-1,1);
  16.   fg_print('Fastgraph',9);
  17.   fg_move(320,0);
  18.   fg_justify(0,1);
  19.   fg_print('Fastgraph',9);
  20.   fg_move(639,0);
  21.   fg_justify(1,1);
  22.   fg_print('Fastgraph',9);
  23.  
  24.   fg_move(0,240);
  25.   fg_justify(-1,0);
  26.   fg_print('Fastgraph',9);
  27.   fg_move(320,240);
  28.   fg_justify(0,0);
  29.   fg_print('Fastgraph',9);
  30.   fg_move(639,240);
  31.   fg_justify(1,0);
  32.   fg_print('Fastgraph',9);
  33.  
  34.   fg_move(0,479);
  35.   fg_justify(-1,-1);
  36.   fg_print('Fastgraph',9);
  37.   fg_move(320,479);
  38.   fg_justify(0,-1);
  39.   fg_print('Fastgraph',9);
  40.   fg_move(639,479);
  41.   fg_justify(1,-1);
  42.   fg_print('Fastgraph',9);
  43.   fg_waitkey;
  44.  
  45.   fg_setmode(old_mode);
  46.   fg_reset;
  47. end.
  48.